<?php
session_start();
class home extends Tpage{

	public function onLoad($param)
	{
		parent::onLoad($param);
		if(!$this->IsPostBack)
		{

			$this->usuarioLogado->Text = $_SESSION['usuario'];
		}
		
		if($_SESSION['idUsuario'] == null){
			$this->Response->  redirect("?page=home");
		}
			
	}
}
?>